package com.jmb.api.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jmb.api.model.entity.ApiTestCaseAssertLog;
import com.jmb.api.service.ApiTestCaseAssertLogService;
import com.jmb.api.mapper.ApiTestCaseAssertLogMapper;
import com.jmb.api.vo.api.ApiTestAssertLogVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author jinbo
* @description 针对表【api_test_case_assert_log】的数据库操作Service实现
* @createDate 2025-04-08 13:53:56
*/
@Service
public class ApiTestCaseAssertLogServiceImpl extends ServiceImpl<ApiTestCaseAssertLogMapper, ApiTestCaseAssertLog>
    implements ApiTestCaseAssertLogService{

    @Autowired
    private ApiTestCaseAssertLogMapper apiTestCaseAssertLogMapper;

    @Override
    public void saveAssertLog(ApiTestCaseAssertLog apiTestCaseAssertLog) {
        this.save(apiTestCaseAssertLog);

    }

    @Override
    public IPage<ApiTestCaseAssertLog> getAssertLogList(IPage<ApiTestCaseAssertLog> page, ApiTestAssertLogVo apiTestAssertLogVo) {
        return apiTestCaseAssertLogMapper.selectAssertLogList(page,apiTestAssertLogVo);
    }
}




